html {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Microsoft YaHei";
    width: 100%;
    height: 100%;
    background-color: #F6F4E9;
}

a,
a:hover,
a:link,
a:visited {
    color: #FFF;
    text-decoration: none;
}

td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mui-switch {
  width: 52px;
  height: 31px;
  position: relative;
  border: 1px solid #dfdfdf;
  background-color: #fdfdfd;
  box-shadow: #dfdfdf 0 0 0 0 inset;
  border-radius: 20px;
  background-clip: content-box;
  display: inline-block;
  -webkit-appearance: none;
  user-select: none;
  outline: none !important;
  cursor: pointer;
}

.mui-switch:before {
  content: '';
  width: 29px;
  height: 29px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mui-switch:checked {
  border-color: #64bd63;
  box-shadow: #64bd63 0 0 0 16px inset;
  background-color: #64bd63;
}

.mui-switch:checked:before {
  left: 21px;
}

.mui-switch.mui-switch-animbg {
  transition: background-color ease 0.4s;
}

.mui-switch.mui-switch-animbg:before {
  transition: left 0.3s;
}

.mui-switch.mui-switch-animbg:checked {
  box-shadow: #dfdfdf 0 0 0 0 inset;
  background-color: #64bd63;
  transition: border-color 0.4s, background-color ease 0.4s;
}

.mui-switch.mui-switch-animbg:checked:before {
  transition: left 0.3s;
}

.mui-switch.mui-switch-anim {
  transition: border cubic-bezier(0, 0, 0, 1) 0.4s, box-shadow cubic-bezier(0, 0, 0, 1) 0.4s;
}

.mui-switch.mui-switch-anim:before {
  transition: left 0.3s;
}

.mui-switch.mui-switch-anim:checked {
  box-shadow: #64bd63 0 0 0 16px inset;
  background-color: #64bd63;
  transition: border ease 0.4s, box-shadow ease 0.4s, background-color ease 1.2s;
}

.mui-switch.mui-switch-anim:checked:before {
  transition: left 0.3s;
}

.glyphicon-plus{
    color: #5BB85D !important;
}

.glyphicon-flag{
    color: #5BB85D !important;
}

.glyphicon-pencil{
    color: #31B0D5 !important;
}

.glyphicon-trash{
  color: #C9302C !important;
}




/*************************************************************************************************/


/*列表页面*/
.toolBar {
    height: 40px;
    width: 100%;
    margin-bottom: 3px;
    position: relative;
    border: 0;
    box-shadow: none;
    background-color: transparent;
}

.toolBar .btn.add {
    height: 30px;
    margin-top: 5px;
    padding: 0 10px 0;
    background-color: #1A7BE9;
    color: #FFF;
    outline: none;
    overflow: hidden;
}

.toolBar .btn.add .glyphicon-plus{
    color: #FFF !important;
}

.toolBar .btn.add a{
    display: inline-block;
    margin: 0;
    width: 100%;
    height: 100%;
    line-height: 28px;

}

.tableBox {
    width: 100%;
    padding: 0;
    margin-top: 16px;
    margin-bottom: 50px;
    background-color: #F5F5F5;
}

.table {
    margin: 0 auto;
    width: 100%;
    table-layout: fixed;
    background-color: #FFF;
}

.table thead {
    background-color: #DDD;
}

.table td {
    vertical-align: middle !important;
}

.tableBox .table .btn{
    background-color: transparent;
    outline: none;
}

.pagination {
    margin-left: auto;
    margin-right: auto;
}

.modal-dialog{
    margin-top: 250px;
}

.modal-dialog button{
  outline: none;
}

.modal-dialog .modal-content .btn{
    outline: none;
}

.pageControl{
    background-color: transparent;
}

.nowPage{
    background-color: #EEE !important;
}
/*************************************************************************************************/
/*更改密码，信息添加，信息修改的按钮组的上边距*/

.btnMarginTop {
    margin-top: 10px;
}

.aeBox .btnMarginTop .btn{
    outline: none;
}

/*更改密码，信息添加，信息修改的按钮组的间距*/

.btnMarginRight {
//    margin-right: 50px;
}


/*************************************************************************************************/


/*添加与修改页面*/

.aeBox {
    width: 100%;
    height: 100%;
    padding: 20px 20px 0;
}

#aeWang {
    background-color: #FFF;
}


/*************************************************************************************************/


/* padding margin
 * ======================================= */

.pm-all(@i, @len) when (@i <=@len) {
    .p-t-@{i}x {
        padding-top: (@i * 8px)!important;
    }
    .p-r-@{i}x {
        padding-right: (@i * 8px)!important;
    }
    .p-b-@{i}x {
        padding-bottom: (@i * 8px)!important;
    }
    .p-l-@{i}x {
        padding-left: (@i * 8px)!important;
    }
    .p-x-@{i}x {
        padding-left: (@i * 8px)!important;
        padding-right: (@i * 8px)!important;
    }
    .p-y-@{i}x {
        padding-top: (@i * 8px)!important;
        padding-bottom: (@i * 8px)!important;
    }
    .m-t-@{i}x {
        margin-top: (@i * 8px)!important;
    }
    .m-r-@{i}x {
        margin-right: (@i * 8px)!important;
    }
    .m-b-@{i}x {
        margin-bottom: (@i * 8px)!important;
    }
    .m-l-@{i}x {
        margin-left: (@i * 8px)!important;
    }
    .m-x-@{i}x {
        margin-left: (@i * 8px)!important;
        margin-right: (@i * 8px)!important;
    }
    .m-y-@{i}x {
        margin-top: (@i * 8px)!important;
        margin-bottom: (@i * 8px)!important;
    }
    .pm-all((@i + 1), @len);
}

.pm-all(0, 10);